/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.crm.logistic.remote.RemoteLogisticServiceImpl
   Module Description   :

   Date Created      : 2011/4/8
   Original Author   : cut7man
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.crm.logistic.remote;

import javax.annotation.Resource;

import com.yaodian100.core.common.utils.StringUtils;
import com.yaodian100.crm.logistic.service.LogisticService;

/**
 * @author cut7man
 * 
 */
public class RemoteLogisticServiceImpl implements RemoteLogisticService {
	@Resource
	private LogisticService logisticService;

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.yaodian100.crm.logistic.remote.RemoteLogisticService#syncLogisticProvider()
	 */
	@Override
	public String syncLogisticProvider() {

		try {
			logisticService.syncLogisticProvider();
		} catch (Exception e) {
			String execLog = StringUtils.printExecption(null, e);
			return execLog;
		}
		return "true";
	}

}
